package cn.youruan.demo.mapper;

import cn.youruan.demo.domain.Hobby;
import cn.youruan.demo.domain.Lottery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface LotteryMapper extends BaseMapper<Lottery>  {
    List<Lottery> sortByActiveUser(LocalDateTime startTime,LocalDateTime endTime);
}
